/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package aicue1.services;

import aicue1.beans.Customer;
import java.math.BigDecimal;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;

/**
 *
 * @author Thomas
 */
@WebService(name = "BankingService")
public interface BankingService
{
    @WebMethod(operationName="charge_credit_card")
    public void charge_credit_card(@WebParam(name = "customer") Customer customer,
            @WebParam(name = "amount") BigDecimal amount);
    @WebMethod(operationName="do_bank_transfer")
    public void do_bank_transfer(@WebParam(name = "customer") Customer customer,
            @WebParam(name = "amount") BigDecimal amount);
}
